<template>
	<div>
		<el-form-item :label="$t('designer.setting.gridColHeight')">
			<el-input type="number" v-model="thisOptionModel.colHeight" @input="inputNumberHandler"
					  min="0" class="hide-spin-button"></el-input>
		</el-form-item>
	</div>
</template>

<script>
import propertyMixin from "@/components/designer/form-designer/setting-panel/property-editor/propertyMixin"

export default {
	name: "colHeight-editor",
	mixins: [propertyMixin],
	props: {
		designer: Object,
		selectedWidget: Object,
		optionModel: Object,
	},
	data() {
		return {
			thisOptionModel: this.optionModel,
			thisSelectedWidget: this.selectedWidget,
			cssClassList: [],
		}
	},
	watch: {
		'optionModel': {
			handler(val) {
				if (val) {
					this.thisOptionModel = val
				}
			}
		}
	},
}
</script>

<style scoped>

</style>
